package xps.and.uudaijia.userclient.util;

import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.RecyclerView;
import android.view.View;

public class ListDividerItemDecoration extends RecyclerView.ItemDecoration {
    private int miSpace;
    public ListDividerItemDecoration(int iSpace) {
        miSpace = iSpace;
    }

    @Override
    public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
        super.getItemOffsets(outRect, view, parent, state);
        outRect.bottom = miSpace;
    }
}
